You are here

public function ContentRepositoryInterface::getContentId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony-cmf/routing/ContentRepositoryInterface.php \Symfony\Cmf\Component\Routing\ContentRepositoryInterface::getContentId()

Return the content identifier for the provided content object for debugging purposes.

Parameters

object $content A content instance:

Return value

string|null $id id of the content object or null if unable to determine an id

File

vendor/symfony-cmf/routing/ContentRepositoryInterface.php, line 45

Class

ContentRepositoryInterface
Interface used by the DynamicRouter to retrieve content by it's id when generating routes from content-id.

Namespace

Symfony\Cmf\Component\Routing

Code

public function getContentId($content);