src/Hediet/Types/ObjectType.php
public function getMethod($name)
    {
        $m = $this->getReflectionClass()->getMethod($name);
        return MethodInfo::__internal_create($this, $m);
    }
public function getMethod($name)
    {
        $m = $this->getReflectionClass()->getMethod($name);
        return MethodInfo::__internal_create($this, $m);
    }
public function getMethod ( $ name ) { $ m = $ this -> getReflectionClass ( ) -> getMethod ( $ name ) ; return MethodInfo :: __internal_create ( $ this , $ m ) ; }
Gets as method by its name.

@param string $name
@return MethodInfo
@throws ReflectionException A reflection exception will be thrown, if the method does not exist.
Gets as method by its name .