for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Starkerxp\LeadBundle\Manager;
use Starkerxp\LeadBundle\Entity\Lead;
use Starkerxp\StructureBundle\Entity\Entity;
use Starkerxp\StructureBundle\Manager\AbstractManager;
use Starkerxp\StructureBundle\Manager\Exception\DeleteObjectNotAllowedException;
use Starkerxp\StructureBundle\Manager\Exception\UpdateObjectNotAllowedException;
class LeadManager extends AbstractManager
{
public function getSupport(Entity $object)
return $object instanceof Lead;
}
/**
* @param Entity $object
* @throws DeleteObjectNotAllowedException
*/
public function delete(Entity $object)
throw new DeleteObjectNotAllowedException();
* @return bool|Entity|void
* @throws UpdateObjectNotAllowedException
public function update(Entity $object)
throw new UpdateObjectNotAllowedException();
This check marks files that end in a newline character, i.e. an empy line.
This check marks files that end in a newline character, i.e. an empy line.