src/PhpToZephir/Engine.php
private function convertCode($phpCode, ClassCollector $classCollector, Logger $logger, $fileName = null, array $classes = array())
    {
        $converted = $this->converter->nodeToZephir($phpCode, $classCollector, $logger, $fileName, $classes);

        return array(
            'zephir' => $converted['code'],
            'php' => $phpCode,
            'namespace' => $converted['namespace'],
            'destination' => str_replace('\\', '/', $converted['namespace']).'/',
            'additionalClass' => $converted['additionalClass'],
        );
    }
private function convertCode($phpCode, ClassCollector $classCollector, Logger $logger, $fileName = null, array $classes = array())
    {
        $converted = $this->converter->nodeToZephir($phpCode, $classCollector, $logger, $fileName, $classes);

        return array(
            'zephir' => $converted['code'],
            'php' => $phpCode,
            'namespace' => $converted['namespace'],
            'destination' => str_replace('\\', '/', $converted['namespace']).'/',
            'additionalClass' => $converted['additionalClass'],
        );
    }
private function convertCode ( $ phpCode , ClassCollector $ classCollector , Logger $ logger , $ fileName = null , array $ classes = array ( ) ) { $ converted = $ this -> converter -> nodeToZephir ( $ phpCode , $ classCollector , $ logger , $ fileName , $ classes ) ; return array ( 'zephir' => $ converted [ 'code' ] , 'php' => $ phpCode , 'namespace' => $ converted [ 'namespace' ] , 'destination' => str_replace ( '\\' , '/' , $ converted [ 'namespace' ] ) . '/' , 'additionalClass' => $ converted [ 'additionalClass' ] , ) ; }
@param string $phpCode

@return string
@param string $phpCode