for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Crossjoin\Browscap\PropertyFilter;
/**
* Trait PropertyFilterTrait
*
* @package Crossjoin\Browscap\PropertyFilter
* @author Christoph Ziegenberg <[email protected]>
* @link https://github.com/crossjoin/browscap
*/
trait PropertyFilterTrait
{
* @var PropertyFilterInterface
protected $propertyFilter;
* @inheritdoc
public function getPropertyFilter() : PropertyFilterInterface
if ($this->propertyFilter === null) {
$this->propertyFilter = new None();
}
return $this->propertyFilter;
public function setPropertyFilter(PropertyFilterInterface $filter)
$this->propertyFilter = $filter;