for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NVBooster\PHPCRAssetsBundle\Asset;
use Symfony\Cmf\Component\Routing\RouteReferrersReadInterface;
/**
* @author nvb
*
*/
class BaseAsset implements RouteReferrersReadInterface
{
* @var string
protected $id;
* @var object
protected $parentDocument;
protected $name;
protected $content;
* @var \DateTime
protected $updatedAt;
* @var array
protected $routes;
* @return string
public function getId()
return $this->id;
}
* @param string $id
* @return BaseAsset
public function setId($id)
$this->id = $id;
return $this;
* @return object
public function getParentDocument()
return $this->parentDocument;
* @param object $parentDocument
public function setParentDocument($parentDocument)
$this->parentDocument = $parentDocument;
public function getName()
return $this->name;
* @param string $name
public function setName($name)
$this->name = $name;
public function getContent()
return $this->content;
* @param string $content
public function setContent($content)
$this->content = $content;
* @return \DateTime
public function getUpdatedAt()
return $this->updatedAt;
* @param \DateTime $updatedAt
public function setUpdatedAt(\DateTime $updatedAt)
$this->updatedAt = $updatedAt;
public function getExtension()
return '';
* @return array
public function getRoutes()
return $this->routes;