| 1 | <?php |
||
| 8 | class UserProfile extends \Twig_Extension |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var CacheManager |
||
| 12 | */ |
||
| 13 | private $cacheManager; |
||
| 14 | |||
| 15 | public function __construct(CacheManager $cacheManager) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @inheritdoc |
||
| 22 | */ |
||
| 23 | public function getFunctions() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param UserInterface $user |
||
| 32 | * @param string $filter |
||
| 33 | * @param array $runtimeConfig |
||
| 34 | * |
||
| 35 | * @return null|string |
||
| 36 | */ |
||
| 37 | public function getUserAvartar(UserInterface $user = null, $filter = '70x70', array $runtimeConfig = array()) |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @inheritdoc |
||
| 76 | */ |
||
| 77 | public function getName() |
||
| 81 | } |
||
| 82 |