/** * * {@inheritdoc} * */ protected function castResource(Stub $stub, $isNested) { return Caster::EXCLUDE_VERBOSE & $this->filter ? array() : parent::castResource($stub, $isNested); }