Timber\PostQuery::__construct PHP Метод

__construct() публичный Метод

public __construct ( mixed $query = false, string $post_class = '\Timber\Post' )
$query mixed
$post_class string
    public function __construct($query = false, $post_class = '\\Timber\\Post')
    {
        $this->userQuery = $query;
        $this->queryIterator = PostGetter::query_posts($query, $post_class);
        $posts = $this->queryIterator->get_posts();
        parent::__construct($posts, $post_class);
    }