src/Subjects/BunchSubject.php
public function getEntityType()
    {

        // query whether or not the entity type with the passed code is available
        if (isset($this->entityTypes[$entityTypeCode = $this->getEntityTypeCode()])) {
            return $this->entityTypes[$entityTypeCode];
        }

        // throw a new exception
        throw new \Exception(
            $this->appendExceptionSuffix(
                sprintf('Requested entity type "%s" is not available', $entityTypeCode)
            )
        );
    }
public function getEntityType()
    {

        // query whether or not the entity type with the passed code is available
        if (isset($this->entityTypes[$entityTypeCode = $this->getEntityTypeCode()])) {
            return $this->entityTypes[$entityTypeCode];
        }

        // throw a new exception
        throw new \Exception(
            $this->appendExceptionSuffix(
                sprintf('Requested entity type "%s" is not available', $entityTypeCode)
            )
        );
    }
public function getEntityType ( ) { // query whether or not the entity type with the passed code is available if ( isset ( $ this -> entityTypes [ $ entityTypeCode = $ this -> getEntityTypeCode ( ) ] ) ) { return $ this -> entityTypes [ $ entityTypeCode ] ; } // throw a new exception throw new \ Exception ( $ this -> appendExceptionSuffix ( sprintf ( 'Requested entity type "%s" is not available' , $ entityTypeCode ) ) ) ; }
Return's the entity type for the configured entity type code.

@return array The requested entity type
@throws \Exception Is thrown, if the requested entity type is not available
Return s the entity type for the configured entity type code .