PHP Class Nextras\Orm\Entity\ToArrayConverter

Afficher le fichier Open project: nextras/orm Class Usage Examples

Méthodes publiques

Свойство Type Description
$maxRecursionLevel Maximum recursion level.

Méthodes publiques

Méthode Description
toArray ( Nextras\Orm\Entity\IEntity $entity, integer $type = IEntity::TO_ARRAY_RELATIONSHIP_AS_IS, integer $recursionLevel ) : array | null Converts IEntity to array

Method Details

toArray() public static méthode

Converts IEntity to array
public static toArray ( Nextras\Orm\Entity\IEntity $entity, integer $type = IEntity::TO_ARRAY_RELATIONSHIP_AS_IS, integer $recursionLevel ) : array | null
$entity Nextras\Orm\Entity\IEntity
$type integer
$recursionLevel integer
Résultat array | null

Property Details

$maxRecursionLevel public_oe static_oe property

Maximum recursion level.
public static $maxRecursionLevel