src/Entities.php
public function getNumericID($moduleName, array $params)
    {
        $entityID = $this->getID($moduleName, $params);
        $entityIDParts = explode('x', $entityID, 2);
        return (is_array($entityIDParts) && count($entityIDParts) === 2)
            ? intval($entityIDParts[ 1 ])
            : -1;
    }
public function getNumericID($moduleName, array $params)
    {
        $entityID = $this->getID($moduleName, $params);
        $entityIDParts = explode('x', $entityID, 2);
        return (is_array($entityIDParts) && count($entityIDParts) === 2)
            ? intval($entityIDParts[ 1 ])
            : -1;
    }
public function getNumericID ( $ moduleName , array $ params ) { $ entityID = $ this -> getID ( $ moduleName , $ params ) ; $ entityIDParts = explode ( 'x' , $ entityID , 2 ) ; return ( is_array ( $ entityIDParts ) && count ( $ entityIDParts ) === 2 ) ? intval ( $ entityIDParts [ 1 ] ) : - 1 ; }
Retrieve a numeric ID of the entity matching a list of constraints
@param  string  $moduleName   The name of the module / entity type
@param  array   $params  Data used to find a matching entry
@return integer  Numeric ID
Retrieve a numeric ID of the entity matching a list of constraints