src/Daursu/Xero/models/BaseModel.php
public static function getSingularEntityName()
	{
		if ( isset(self::$entity_singular) && ! empty(self::$entity_singular))
			return self::$entity_singular;

		return str_singular(self::getEntityName());
	}
public static function getSingularEntityName()
	{
		if ( isset(self::$entity_singular) && ! empty(self::$entity_singular))
			return self::$entity_singular;

		return str_singular(self::getEntityName());
	}
public static function getSingularEntityName ( ) { if ( isset ( self :: $ entity_singular ) && ! empty ( self :: $ entity_singular ) ) return self :: $ entity_singular ; return str_singular ( self :: getEntityName ( ) ) ; }
Retrieves the singular name of the entity we are querying.

@return string
Retrieves the singular name of the entity we are querying .