Scalr\Upgrade\EntityPropertiesIterator::__construct PHP Метод

__construct() публичный Метод

Constructor
public __construct ( AbstractEntity $entity )
$entity AbstractEntity An entity
    public function __construct(AbstractEntity $entity)
    {
        $this->position = 0;
        $this->entity = $entity;
        $this->refl = new ReflectionClass(get_class($entity));
        $this->refProps = $this->refl->getProperties(ReflectionProperty::IS_PROTECTED | ReflectionProperty::IS_PUBLIC);
    }