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
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)

 Methods

Receive and process the contents of an annotation

__construct(array $data) 

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

inherited_from \Zend\Form\Annotation\Instance::getObject()

Returns

nullstring

 Properties

 

$value

$value : string
Inherited

inherited_from \Zend\Form\Annotation\AbstractStringAnnotation::$$value
inherited_from \Zend\Form\Annotation\Instance::$$value