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.9.5
*/
namespace Quantum\Libraries\Asset;
* Class AssetException
* @package Quantum\Libraries\Asset
class AssetException extends \Exception
{
* @param string $position
* @param string $name
* @return AssetException
public static function positionInUse(string $position, string $name): AssetException
return new self(t('exception.position_in_use', [$position, $name]), E_WARNING);
}
* @param string|null $name
public static function nameInUse(?string $name): AssetException
return new self(t('exception.name_in_use', [$name]), E_WARNING);