/** * Returns whether this value is applicable for given conditions * * @param string $name * @param int $occurance * * @return bool */ public function isApplicable(string $name, int $occurance) : bool { return $this->property->matches($name, $occurance); }