PHP Class Puli\Repository\Api\ResourceNotFoundException

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends RuntimeExceptio\RuntimeException
Datei anzeigen Open project: puli/repository Class Usage Examples

Public Methods

Method Description
forPath ( string $path, Exception $cause = null ) : static Creates a new exception for a resource path.

Method Details

forPath() public static method

Creates a new exception for a resource path.
public static forPath ( string $path, Exception $cause = null ) : static
$path string The path which was not found.
$cause Exception The exception that caused this exception.
return static The created exception.