protected _paths ( string $type, array $params ) : string | ||
$type | string | |
$params | array | The set of options keys to be interpolated into the path templates when searching for the correct file to load. |
return | string | Returns the first template file found. Throws an exception if no templates are available. |