You are here

public function MethodMatchFilter::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-hydrator/src/Filter/MethodMatchFilter.php \Zend\Hydrator\Filter\MethodMatchFilter::__construct()

Parameters

string $method The method to exclude or include:

bool $exclude If the method should be excluded:

File

vendor/zendframework/zend-hydrator/src/Filter/MethodMatchFilter.php, line 30

Class

MethodMatchFilter

Namespace

Zend\Hydrator\Filter

Code

public function __construct($method, $exclude = true) {
  $this->method = $method;
  $this->exclude = $exclude;
}