public function containerExists($container)
    {
        // Correct format filename
        $container = ucfirst(strtolower($container));

        // The filename to include
        $filename = $this->retrievePathToCurrentClass().
                    'Service'.DIRECTORY_SEPARATOR.'Container'.DIRECTORY_SEPARATOR.$container.'.php';

        return file_exists($filename) ? (include_once $filename) : false;
    }
public function containerExists($container)
    {
        // Correct format filename
        $container = ucfirst(strtolower($container));

        // The filename to include
        $filename = $this->retrievePathToCurrentClass().
                    'Service'.DIRECTORY_SEPARATOR.'Container'.DIRECTORY_SEPARATOR.$container.'.php';

        return file_exists($filename) ? (include_once $filename) : false;
    }
public function containerExists ( $ container ) { // Correct format filename $ container = ucfirst ( strtolower ( $ container ) ) ; // The filename to include $ filename = $ this -> retrievePathToCurrentClass ( ) . 'Service' . DIRECTORY_SEPARATOR . 'Container' . DIRECTORY_SEPARATOR . $ container . '.php' ; return file_exists ( $ filename ) ? ( include_once $ filename ) : false ; }
Checks existence of a container and returns result.

This method is intend to check existence of a container and returns result.

@param string $container The container name to check

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE if $container exists, otherwise FALSE
Checks existence of a container and returns result .