| 1 | <?php |
||
| 18 | class TooManyItems extends \InvalidArgumentException implements Exception { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Create a new exception instance for a post type that is limited. |
||
| 22 | * |
||
| 23 | * @since %VERSION% |
||
| 24 | * |
||
| 25 | * @param string $post_type The post type. |
||
| 26 | * @param int $limit The limit for the post type. |
||
| 27 | * |
||
| 28 | * @return static |
||
| 29 | */ |
||
| 30 | public static function from_post_type( $post_type, $limit ) { |
||
| 45 | } |
||
| 46 |