for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mdiyakov\DoctrineSolrBundle\Schema\Field\Entity;
class BooleanField extends Field
{
/**
* @param object $entity
* @return bool
*/
public function getDocumentFieldValue($entity)
return (bool) $this->getEntityFieldValue($entity);
}