getConstructor() публичный Метод

Replacement for the original getConstructor() method which makes sure that MethodReflection objects are returned instead of the original ReflectionMethod instances.
public getConstructor ( ) : MethodReflection
Результат MethodReflection Method reflection object of the constructor method
 /**
  * @test
  */
 public function getConstructorReturnsFlowsMethodReflection()
 {
     $class = new ClassReflection(__CLASS__);
     $constructor = $class->getConstructor();
     $this->assertInstanceOf(MethodReflection::class, $constructor, 'The returned method is not of type \\Neos\\Flow\\Reflection\\MethodReflection.');
 }