public function getCollection($collectionName)
    {
        $this->initialize();

        return isset($this->collections[$collectionName]) ? $this->collections[$collectionName] : null;
    }
public function getCollection($collectionName)
    {
        $this->initialize();

        return isset($this->collections[$collectionName]) ? $this->collections[$collectionName] : null;
    }
public function getCollection ( $ collectionName ) { $ this -> initialize ( ) ; return isset ( $ this -> collections [ $ collectionName ] ) ? $ this -> collections [ $ collectionName ] : null ; }
Returns a Collection instance by the given name

@param string $collectionName Name of the collection as defined in the settings
@return CollectionInterface or NULL
@api
Returns a Collection instance by the given name