function it_delegates_has(Component $component) { $component->has('foo')->shouldBeCalled(); $this->__isset('foo'); }
/** * {@inheritDoc} */ public function __isset($strKey) { return $this->component->has($strKey); }
function it_delegates_has(Component $component) { $component->has('foo')->shouldBeCalled(); $this->__isset('foo'); }
/** * {@inheritDoc} */ public function __isset($strKey) { return $this->component->has($strKey); }