Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
remember time when bundle was indexed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Jędrzejewski committed Mar 19, 2012
1 parent 6c20009 commit 5ed0962
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/Knp/Bundle/KnpBundlesBundle/Entity/Bundle.php
Expand Up @@ -250,6 +250,13 @@ public static function loadValidatorMetadata(ClassMetadata $metadata)
*/
protected $symfonyVersion;

/**
* Last indexing time.
*
* @ORM\Column(type="datetime", nullable=true)
*/
protected $indexedAt;

public function __construct($fullName = null)
{
if ($fullName) {
Expand Down Expand Up @@ -1052,4 +1059,24 @@ public function setSymfonyVersion($version)
{
$this->symfonyVersion = $version;
}

/**
* Set indexedAt
*
* @param datetime $indexedAt
*/
public function setIndexedAt($indexedAt)
{
$this->indexedAt = $indexedAt;
}

/**
* Get indexedAt
*
* @return datetime $indexedAt
*/
public function getIndexedAt()
{
return $this->indexedAt;
}
}

0 comments on commit 5ed0962

Please sign in to comment.