PHP Class ZF\Apigility\Doctrine\Server\Event\DoctrineResourceEvent

Inheritance: extends Zend\EventManager\Event
Exibir arquivo Open project: zfcampus/zf-apigility-doctrine Class Usage Examples

Protected Properties

Property Type Description
$collection mixed
$data Should be the original data that was supplied the resource
$entity mixed
$entityClassName string
$entityId string
$objectManager
$resourceEvent ZF\Rest\ResourceEvent

Public Methods

Method Description
getCollection ( ) : mixed
getData ( ) : mixed
getEntity ( ) : mixed
getEntityClassName ( ) : string
getEntityId ( ) : string
getObjectManager ( ) : Doctrine\Common\Persistence\ObjectManager
getResourceEvent ( ) : ZF\Rest\ResourceEvent
setCollection ( mixed $collection )
setData ( mixed $data )
setEntity ( mixed $entity )
setEntityClassName ( string $entityClassName )
setEntityId ( string $entityId )
setObjectManager ( Doctrine\Common\Persistence\ObjectManager $objectManager )
setResourceEvent ( ZF\Rest\ResourceEvent $resourceEvent )

Method Details

getCollection() public method

Deprecation: Should almost certainly be null at all times as of commit b1cf74e
public getCollection ( ) : mixed
return mixed

getData() public method

public getData ( ) : mixed
return mixed

getEntity() public method

public getEntity ( ) : mixed
return mixed

getEntityClassName() public method

public getEntityClassName ( ) : string
return string

getEntityId() public method

public getEntityId ( ) : string
return string

getObjectManager() public method

public getObjectManager ( ) : Doctrine\Common\Persistence\ObjectManager
return Doctrine\Common\Persistence\ObjectManager

getResourceEvent() public method

public getResourceEvent ( ) : ZF\Rest\ResourceEvent
return ZF\Rest\ResourceEvent

setCollection() public method

Deprecation: Callers have been removed in Commit b1cf74e
public setCollection ( mixed $collection )
$collection mixed

setData() public method

public setData ( mixed $data )
$data mixed The Original Data supplied to the Resource Method

setEntity() public method

public setEntity ( mixed $entity )
$entity mixed

setEntityClassName() public method

public setEntityClassName ( string $entityClassName )
$entityClassName string

setEntityId() public method

public setEntityId ( string $entityId )
$entityId string

setObjectManager() public method

public setObjectManager ( Doctrine\Common\Persistence\ObjectManager $objectManager )
$objectManager Doctrine\Common\Persistence\ObjectManager

setResourceEvent() public method

public setResourceEvent ( ZF\Rest\ResourceEvent $resourceEvent )
$resourceEvent ZF\Rest\ResourceEvent

Property Details

$collection protected_oe property

protected mixed $collection
return mixed

$data protected_oe property

Should be the original data that was supplied the resource
protected $data

$entity protected_oe property

protected mixed $entity
return mixed

$entityClassName protected_oe property

protected string $entityClassName
return string

$entityId protected_oe property

protected string $entityId
return string

$objectManager protected_oe property

protected $objectManager

$resourceEvent protected_oe property

protected ResourceEvent,ZF\Rest $resourceEvent
return ZF\Rest\ResourceEvent