| 1 | <?php |
||
| 15 | class View extends \samsonframework\view\View |
||
| 16 | { |
||
| 17 | /** @var SystemInterface Pointer to system interface */ |
||
| 18 | public static $system; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Generate url for resource path that is not accessible by web-server. |
||
| 22 | * |
||
| 23 | * @param string $path Path to resource |
||
| 24 | * @param string $controller Url to controller for handling resource serving |
||
| 25 | * @return string Url for resource serving |
||
| 26 | */ |
||
| 27 | public function src($path, $controller = '/view/') |
||
| 31 | } |
||
| 32 |