for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* GpsLab component.
*
* @author Peter Gribanov <[email protected]>
* @copyright Copyright (c) 2011, Peter Gribanov
* @license http://opensource.org/licenses/MIT
*/
namespace GpsLab\Bundle\PaginationBundle\Exception;
class IncorrectPageNumberException extends \InvalidArgumentException
{
* @param mixed $current_page
* @return static
public static function incorrect($current_page)
return new static(sprintf('Incorrect "%s" page number.', $current_page));
}