public function __construct(ResourceId $id) { Validation::notEmpty($id, 'id'); $this->id = $id; //$this->_init(); }