public function getMethods($filter = \ReflectionProperty::IS_PUBLIC)
    {
        $methods = array();
        $reflectionMethods = $this->reflectionEntity->getMethods($filter);
        foreach ($reflectionMethods as $method) {
            $methods[] = new Method($method->name, $method->isStatic());
        }

        return $methods;
    }
public function getMethods($filter = \ReflectionProperty::IS_PUBLIC)
    {
        $methods = array();
        $reflectionMethods = $this->reflectionEntity->getMethods($filter);
        foreach ($reflectionMethods as $method) {
            $methods[] = new Method($method->name, $method->isStatic());
        }

        return $methods;
    }
public function getMethods ( $ filter = \ ReflectionProperty :: IS_PUBLIC ) { $ methods = array ( ) ; $ reflectionMethods = $ this -> reflectionEntity -> getMethods ( $ filter ) ; foreach ( $ reflectionMethods as $ method ) { $ methods [ ] = new Method ( $ method -> name , $ method -> isStatic ( ) ) ; } return $ methods ; }
Gets the methods of the object provided.

@param int $filter

@return array
Gets the methods of the object provided .