Final Class Yiisoft\Yii\DataView\Pagination\PaginatorNotSupportedException
| Inheritance | Yiisoft\Yii\DataView\Pagination\PaginatorNotSupportedException » LogicException |
|---|
Exception thrown when a pagination widget receives an unsupported paginator type.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Creates a new instance for the given unsupported paginator. | Yiisoft\Yii\DataView\Pagination\PaginatorNotSupportedException |
Method Details
Creates a new instance for the given unsupported paginator.
| public mixed __construct ( \Yiisoft\Data\Paginator\PaginatorInterface $paginator ) | ||
| $paginator | \Yiisoft\Data\Paginator\PaginatorInterface |
The unsupported paginator instance. |
public function __construct(PaginatorInterface $paginator)
{
parent::__construct(
sprintf('Paginator "%s" is not supported.', $paginator::class),
);
}
Signup or Login in order to comment.