FluidTYPO3\Vhs\Asset::build PHP Метод

build() публичный Метод

- if necessary compile the Asset (LESS, SASS, CoffeeScript etc) - make a final rendering decision based on arguments Note that within this function the ViewHelper and TemplateVariable Containers are not dependable, you cannot use the ControllerContext and RenderingContext and you should therefore also never call renderChildren from within this function. Anything else goes; CLI commands to build, caching implementations - you name it.
public build ( ) : mixed
Результат mixed
    public function build()
    {
        $path = $this->getPath();
        if (true === empty($path)) {
            return $this->getContent();
        }
        $content = file_get_contents($path);
        return $content;
    }