Stub class for backwards compatibility.

Since PHP 7 adds "object" as a reserved keyword, we can no longer have a class named that and retain PHP 7 compatibility. The original class has been renamed to "Instance", and this class is now an extension of it. It raises an E_USER_DEPRECATED to warn users to migrate.

deprecated
Annotation
package Default
inherited_from \Zend\Form\Annotation\Instance

 Methods

{@inheritdoc}

__construct(array $data) 

Parameters

$data

Receive and process the contents of an annotation

__construct(array $data) 
Inherited

Parameters

$data

array

Exceptions

\Zend\Form\Exception\DomainException if a 'value' key is missing, or its value is not a string

Retrieve the object

getObject() : null | string
Inherited

Returns

nullstring

 Properties

 

$value

$value : string

Default