src/ImmutabilityBehaviour.php
private function getClassPublicMethods(): array
    {
        return \array_filter(\array_map(
            function (\ReflectionMethod $method): string {
                return !$method->isStatic() ? $method->getName() : '';
            },
            (new \ReflectionObject($this))->getMethods(\ReflectionMethod::IS_PUBLIC)
        ));
    }
private function getClassPublicMethods(): array
    {
        return \array_filter(\array_map(
            function (\ReflectionMethod $method): string {
                return !$method->isStatic() ? $method->getName() : '';
            },
            (new \ReflectionObject($this))->getMethods(\ReflectionMethod::IS_PUBLIC)
        ));
    }
private function getClassPublicMethods ( ) : array { return \ array_filter ( \ array_map ( function ( \ ReflectionMethod $ method ) : string { return ! $ method -> isStatic ( ) ? $ method -> getName ( ) : '' ; } , ( new \ ReflectionObject ( $ this ) ) -> getMethods ( \ ReflectionMethod :: IS_PUBLIC ) ) ) ; }
Get list of defined public methods.

@return string[]
Get list of defined public methods .