container->register_controllers( [ 'Frontend\Restrictions\MainQuery' => new MainQuery( $this->container ), 'Frontend\Restrictions\QueryPosts' => new QueryPosts( $this->container ), 'Frontend\Restrictions\QueryTerms' => new QueryTerms( $this->container ), 'Frontend\Restrictions\PostContent' => new PostContent( $this->container ), 'Frontend\Restrictions\RestAPI' => new RestAPI( $this->container ), ] ); } }