Class Object

Summary

Fully Qualified Name: Zend\Form\Annotation\Object
Extends: Instance

Description

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.

Methods

Name Description Defined By
__construct() {@inheritdoc} Object
getObject() Retrieve the object Instance

Method Details

__construct()

{@inheritdoc}

Parameter Name Type Description
$data

Returns:

getObject()

Retrieve the object

Returns: null|string

Top