@@ -80,6 +80,9 @@ discard block |
||
| 80 | 80 | $mediaExtension->thumbnail($media, $format, $options); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | + /** |
|
| 84 | + * @return Sonata\MediaBundle\Provider\Pool |
|
| 85 | + */ |
|
| 83 | 86 | public function getMediaService() |
| 84 | 87 | { |
| 85 | 88 | $mediaService = $this->getMockBuilder('Sonata\MediaBundle\Provider\Pool') |
@@ -90,6 +93,9 @@ discard block |
||
| 90 | 93 | return $mediaService; |
| 91 | 94 | } |
| 92 | 95 | |
| 96 | + /** |
|
| 97 | + * @return Sonata\CoreBundle\Model\ManagerInterface |
|
| 98 | + */ |
|
| 93 | 99 | public function getMediaManager() |
| 94 | 100 | { |
| 95 | 101 | return $this->getMock('Sonata\CoreBundle\Model\ManagerInterface'); |
@@ -114,6 +120,9 @@ discard block |
||
| 114 | 120 | return $this->template; |
| 115 | 121 | } |
| 116 | 122 | |
| 123 | + /** |
|
| 124 | + * @return Twig_Environment |
|
| 125 | + */ |
|
| 117 | 126 | public function getEnvironment() |
| 118 | 127 | { |
| 119 | 128 | if (is_null($this->environment)) { |