private function addResourcesDir(Config $config, callable $recipe = null)
    {
        if (false === $this->runRecipe($config, $recipe)) {
            $baseDir = dirname($config->getBaseDir()).DIRECTORY_SEPARATOR;
            $directory = realpath($baseDir.DIRECTORY_SEPARATOR.'Resources');

            if (false === $directory) {
                $directory = realpath($baseDir.DIRECTORY_SEPARATOR.'Ressources');
            }

            if (false !== $directory) {
                $this->application->pushResourceDir($directory);
            }
        }
    }
private function addResourcesDir(Config $config, callable $recipe = null)
    {
        if (false === $this->runRecipe($config, $recipe)) {
            $baseDir = dirname($config->getBaseDir()).DIRECTORY_SEPARATOR;
            $directory = realpath($baseDir.DIRECTORY_SEPARATOR.'Resources');

            if (false === $directory) {
                $directory = realpath($baseDir.DIRECTORY_SEPARATOR.'Ressources');
            }

            if (false !== $directory) {
                $this->application->pushResourceDir($directory);
            }
        }
    }
private function addResourcesDir ( Config $ config , callable $ recipe = null ) { if ( false === $ this -> runRecipe ( $ config , $ recipe ) ) { $ baseDir = dirname ( $ config -> getBaseDir ( ) ) . DIRECTORY_SEPARATOR ; $ directory = realpath ( $ baseDir . DIRECTORY_SEPARATOR . 'Resources' ) ; if ( false === $ directory ) { $ directory = realpath ( $ baseDir . DIRECTORY_SEPARATOR . 'Ressources' ) ; } if ( false !== $ directory ) { $ this -> application -> pushResourceDir ( $ directory ) ; } } }
Adds bundle's resources directory into application.

@param Config        $config
@param callable|null $recipe
Adds bundle s resources directory into application .