PHP Class Sulu\Bundle\CoreBundle\Entity\ApiEntity

Deprecation:
Datei anzeigen Open project: sulu/sulu

Protected Properties

Property Type Description
$apiBasePath string general base path of entities.
$apiPath string $apiPath must be overriden by base entity.

Public Methods

Method Description
createSelfLink ( ) creates the _links array including the self path.
getApiPath ( ) : string
getId ( ) : mixed returns the id of an entity.
getLinks ( ) : string
hasApiPath ( ) : boolean returns if api path is set.

Method Details

getApiPath() public method

public getApiPath ( ) : string
return string

getId() public method

returns the id of an entity.
public getId ( ) : mixed
return mixed

hasApiPath() public method

returns if api path is set.
public hasApiPath ( ) : boolean
return boolean

Property Details

$apiBasePath protected_oe property

general base path of entities.
protected string $apiBasePath
return string

$apiPath protected_oe property

$apiPath must be overriden by base entity.
protected string $apiPath
return string