for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Cubiche package.
*
* Copyright (c) Cubiche
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Cubiche\Core\Metadata\Exception;
use RuntimeException;
* MappingException class.
* @author Ivannis Suárez Jerez <[email protected]>
class MappingException extends RuntimeException
{
* @return MappingException
public static function pathRequired()
return new static('The paths is required to retrieve all class names.');
}
* @param string $path
public static function invalidDirectory($path)
return new static(sprintf(
'The given path %s must have a valid directory.',
$path
));
* @param string $className
public static function classNotFound($className)
'The class %s was not found in the chain configured drivers.',
$className
* @param string $fileName
public static function invalidMapping($className, $fileName)
'Invalid mapping file %s for class %s.',
$fileName,