for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Quantum PHP Framework
*
* An open source software development framework for PHP
* @package Quantum
* @author Arman Ag. <[email protected]>
* @copyright Copyright (c) 2018 Softberg LLC (https://softberg.org)
* @link http://quantum.softberg.org/
* @since 2.6.0
*/
namespace Quantum\Exceptions;
* Class AssetException
* @package Quantum\Exceptions
class AssetException extends \Exception
{
* Position for asset is in use
const POSITION_IN_USE = 'Position `{%1}` for asset `{%2}` is in use';
* @param string $position
* @param string $name
* @return \Quantum\Exceptions\AssetException
public static function positionInUse(string $position, string $name): AssetException
return new self(_message(self::POSITION_IN_USE, [$position, $name]), E_WARNING);
}