public function methods() {
        return $this->cache(__METHOD__, function() {
            return array_unique(array_merge(
                $this->publicMethods(),
                $this->protectedMethods(),
                $this->privateMethods(),
                $this->staticMethods()
            ));
        });
    }
public function methods() {
        return $this->cache(__METHOD__, function() {
            return array_unique(array_merge(
                $this->publicMethods(),
                $this->protectedMethods(),
                $this->privateMethods(),
                $this->staticMethods()
            ));
        });
    }
public function methods ( ) { return $ this -> cache ( __METHOD__ , function ( ) { return array_unique ( array_merge ( $ this -> publicMethods ( ) , $ this -> protectedMethods ( ) , $ this -> privateMethods ( ) , $ this -> staticMethods ( ) ) ) ; } ) ; }
Return an array of public, protected, private and static methods.

@return string[]
Return an array of public protected private and static methods .