src/Common/Console/Command/Make/Service.php
protected function generateFilePath(array $aServiceBits): string
    {
        $sClassName = array_pop($aServiceBits);
        return implode(
            DIRECTORY_SEPARATOR,
            array_map(
                function ($sItem) {
                    return rtrim($sItem, DIRECTORY_SEPARATOR);
                },
                array_merge(
                    [static::APP_PATH],
                    $aServiceBits,
                    [$sClassName . '.php']
                )
            )
        );
    }
protected function generateFilePath(array $aServiceBits): string
    {
        $sClassName = array_pop($aServiceBits);
        return implode(
            DIRECTORY_SEPARATOR,
            array_map(
                function ($sItem) {
                    return rtrim($sItem, DIRECTORY_SEPARATOR);
                },
                array_merge(
                    [static::APP_PATH],
                    $aServiceBits,
                    [$sClassName . '.php']
                )
            )
        );
    }
protected function generateFilePath ( array $ aServiceBits ) : string { $ sClassName = array_pop ( $ aServiceBits ) ; return implode ( DIRECTORY_SEPARATOR , array_map ( function ( $ sItem ) { return rtrim ( $ sItem , DIRECTORY_SEPARATOR ) ; } , array_merge ( [ static :: APP_PATH ] , $ aServiceBits , [ $ sClassName . '.php' ] ) ) ) ; }
Generate the class file path

@param array $aServiceBits The supplied classname "bits"

@return string
Generate the class file path