src/Micrometa/Ports/Item/Item.php
protected function isOfProfiledTypes($profile, array $names, ProfiledNamesList $types)
    {
        // Run through all query types
        /** @var \stdClass $queryType */
        foreach ($types as $queryType) {
            if ($this->isTypeInNames($queryType, $profile, $names)) {
                return true;
            }
        }

        return false;
    }
protected function isOfProfiledTypes($profile, array $names, ProfiledNamesList $types)
    {
        // Run through all query types
        /** @var \stdClass $queryType */
        foreach ($types as $queryType) {
            if ($this->isTypeInNames($queryType, $profile, $names)) {
                return true;
            }
        }

        return false;
    }
protected function isOfProfiledTypes ( $ profile , array $ names , ProfiledNamesList $ types ) { // Run through all query types /** @var \stdClass $queryType */ foreach ( $ types as $ queryType ) { if ( $ this -> isTypeInNames ( $ queryType , $ profile , $ names ) ) { return true ; } } return false ; }
Return whether an aliased item type is contained in a set of query types

@param string $profile          Type profile
@param array $names             Aliased type names
@param ProfiledNamesList $types Query types

@return bool Item type is contained in the set of query types
Return whether an aliased item type is contained in a set of query types