public finderFor ( $subject ) : Finder | ||
return | Finder |
public function finderFor($subject)
{
$class = $this->initialize($subject);
if (!isset($this->_finders[$class])) {
throw new Exception("No finder registered for {$class}");
}
return $this->_finders[$class];
}