Exemplo n.º 1
0
 function it_can_be_abstract(ReflectionMethod $reflectionMethod)
 {
     $reflectionMethod->isAbstract()->willReturn(false);
     $this->isAbstract()->shouldBe(false);
     $reflectionMethod->isAbstract()->willReturn(true);
     $this->isAbstract()->shouldBe(true);
 }
 /**
  * {@inheritDoc}
  */
 public function isAbstract()
 {
     return $this->betterReflectionMethod->isAbstract();
 }
Exemplo n.º 3
0
 public function isAbstract() : bool
 {
     return $this->reflection->isAbstract();
 }