コード例 #1
0
 function it_delegates_has(Component $component)
 {
     $component->has('foo')->shouldBeCalled();
     $this->__isset('foo');
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  */
 public function __isset($strKey)
 {
     return $this->component->has($strKey);
 }