features/bootstrap/FeatureContext.php
public function iRunPhpDocumentorWith(PyStringNode $code, $extraParameters = '')
    {
        $tmp = self::getTmpFolder();
        $file = tempnam($tmp, 'pdb');
        file_put_contents($file, $code);
        $this->iRunPhpdoc("-f $file -t $tmp --config='{$this->getTempXmlConfigurationPath()}' --force $extraParameters");
        unlink($file);
    }
public function iRunPhpDocumentorWith(PyStringNode $code, $extraParameters = '')
    {
        $tmp = self::getTmpFolder();
        $file = tempnam($tmp, 'pdb');
        file_put_contents($file, $code);
        $this->iRunPhpdoc("-f $file -t $tmp --config='{$this->getTempXmlConfigurationPath()}' --force $extraParameters");
        unlink($file);
    }
public function iRunPhpDocumentorWith ( PyStringNode $ code , $ extraParameters = '' ) { $ tmp = self :: getTmpFolder ( ) ; $ file = tempnam ( $ tmp , 'pdb' ) ; file_put_contents ( $ file , $ code ) ; $ this -> iRunPhpdoc ( "-f $file -t $tmp --config='{$this->getTempXmlConfigurationPath()}' --force $extraParameters" ) ; unlink ( $ file ) ; }
Parses the given PHP code with phpDocumentor.

@param PyStringNode $code

@When /^I run phpDocumentor with:$/

@return void
Parses the given PHP code with phpDocumentor .