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;
    }