lib/API/Values/Block/Block.php
public function getCollection(string $identifier): Collection
    {
        if (!$this->hasCollection($identifier)) {
            throw BlockException::noCollection($identifier);
        }

        return $this->collections->get($identifier);
    }
public function getCollection(string $identifier): Collection
    {
        if (!$this->hasCollection($identifier)) {
            throw BlockException::noCollection($identifier);
        }

        return $this->collections->get($identifier);
    }
public function getCollection ( string $ identifier ) : Collection { if ( ! $ this -> hasCollection ( $ identifier ) ) { throw BlockException :: noCollection ( $ identifier ) ; } return $ this -> collections -> get ( $ identifier ) ; }
Returns the specified block collection.

@throws \Netgen\BlockManager\Exception\API\BlockException If the block collection does not exist
Returns the specified block collection .