protected static findControllerForStream ( $path ) |
protected static function findControllerForStream($path)
{
foreach (static::$streams as $stream) {
if ($stream->getPath() === $path) {
return $stream;
}
}
return null;
}