haxorqt
Home
Console
Upload
information
Create File
Create Folder
About
:
/
proc
/
self
/
cwd
/
wp-content
/
plugins
/
admin-columns-pro
/
classes
/
Query
/
Factory
/
Filename :
CommentFactory.php
back
Copy
<?php declare(strict_types=1); namespace ACP\Query\Factory; use AC\TableScreen; use ACP\Query; use ACP\Query\QueryFactory; class CommentFactory implements QueryFactory { public function can_create(TableScreen $table_screen): bool { return $table_screen instanceof TableScreen\Comment; } public function create(array $bindings): Query { return new Query\Type\Comment($bindings); } }