Skip to content

Instantly share code, notes, and snippets.

@jarednova
Created October 8, 2016 18:48
Show Gist options
  • Save jarednova/07f03091b77b452afb9949073cd540d3 to your computer and use it in GitHub Desktop.
Save jarednova/07f03091b77b452afb9949073cd540d3 to your computer and use it in GitHub Desktop.
<?php
class JamesPost extends TimberPost {
public function link() {
$link = parent::link();
$link = whatever_link_magic_you_need_to_do();
return $link;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment