namespace \; class implements Interface { protected Interface $query; public function __construct(Interface $query) { $this->query = $query; } }