public function getCollection($index)
    {
        return array_key_exists($index, $this->collections)
            ? $this->collections[$index]
            : null;
    }
public function getCollection($index)
    {
        return array_key_exists($index, $this->collections)
            ? $this->collections[$index]
            : null;
    }
public function getCollection ( $ index ) { return array_key_exists ( $ index , $ this -> collections ) ? $ this -> collections [ $ index ] : null ; }
Returns composed collection by index

@param $index

@return CollectionReadInterface
Returns composed collection by index