src/Eloquent/Typhoon/Generator/ProjectValidatorGenerator.php
protected function prepareOutputPath(
        Configuration $configuration,
        ClassName $className
    ) {
        $this->typeCheck->prepareOutputPath(func_get_args());

        $path = $this->outputPath($configuration, $className);
        $parentPath = dirname($path);
        if (!$this->isolator->is_dir($parentPath)) {
            $this->isolator->mkdir($parentPath, 0777, true);
        }

        return $path;
    }
protected function prepareOutputPath(
        Configuration $configuration,
        ClassName $className
    ) {
        $this->typeCheck->prepareOutputPath(func_get_args());

        $path = $this->outputPath($configuration, $className);
        $parentPath = dirname($path);
        if (!$this->isolator->is_dir($parentPath)) {
            $this->isolator->mkdir($parentPath, 0777, true);
        }

        return $path;
    }
protected function prepareOutputPath ( Configuration $ configuration , ClassName $ className ) { $ this -> typeCheck -> prepareOutputPath ( func_get_args ( ) ) ; $ path = $ this -> outputPath ( $ configuration , $ className ) ; $ parentPath = dirname ( $ path ) ; if ( ! $ this -> isolator -> is_dir ( $ parentPath ) ) { $ this -> isolator -> mkdir ( $ parentPath , 0777 , true ) ; } return $ path ; }
@param Configuration $configuration
@param ClassName     $className

@return string
@param Configuration $configuration @param ClassName $className