Phrozn/Site/View/Less.php
public function setInputFile($path)
    {
        parent::setInputFile($path);
        $processors = $this->getProcessors();
        if (count($processors)) {
            $options = array(
                'phr_template_filename' => basename($path),
                'phr_template_dir'      => dirname($path),
            );
            $processor = array_pop($processors);
            $processor->setConfig($options);
        }
        return $this;
    }
public function setInputFile($path)
    {
        parent::setInputFile($path);
        $processors = $this->getProcessors();
        if (count($processors)) {
            $options = array(
                'phr_template_filename' => basename($path),
                'phr_template_dir'      => dirname($path),
            );
            $processor = array_pop($processors);
            $processor->setConfig($options);
        }
        return $this;
    }
public function setInputFile ( $ path ) { parent :: setInputFile ( $ path ) ; $ processors = $ this -> getProcessors ( ) ; if ( count ( $ processors ) ) { $ options = array ( 'phr_template_filename' => basename ( $ path ) , 'phr_template_dir' => dirname ( $ path ) , ) ; $ processor = array_pop ( $ processors ) ; $ processor -> setConfig ( $ options ) ; } return $ this ; }
Set input file path. Overriden to update processor options.

@param string $file Path to file

@return \Phrozn\Site\View
Set input file path . Overriden to update processor options .