for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
//[PHPCOMPRESSOR(remove,start)]
namespace samsoncms\api\generator\metadata;
/**
* Created by Vitaly Iegorov <[email protected]>.
* on 22.03.16 at 19:15
*/
class GenericMetadata
{
/** @var array Collection of all metadata instances */
public static $instances = array();
/** @var string Transliterated and CapsCase database entity name */
public $entity;
/** @var string Real entity name */
public $entityName;
/** @var string Fully qualified entity class name */
public $entityClassName;
/** Old ActiveRecord fields */
/** @deprecated */
public $arSelect = array();
public $arMap = array();
public $arAttributes = array();
public $arTableAttributes = array();
public $arTypes = array();
public $arFrom = array();
public $arGroup = array();
public $arRelationAlias = array();
public $arRelationType = array();
public $arRelations = array();
public function __construct(string $className)
self::$instances[ltrim($className, '\\')] = $this;
$this->entityClassName = $className;
}
//[PHPCOMPRESSOR(remove,end)]