BetterReflection\Reflection\ReflectionClass::isUserDefined PHP Method

isUserDefined() public method

Is this a user-defined function (will always return the opposite of whatever isInternal returns).
public isUserDefined ( ) : boolean
return boolean
    public function isUserDefined()
    {
        return !$this->isInternal();
    }

Usage Example

 /**
  * {@inheritDoc}
  */
 public function isUserDefined()
 {
     return $this->betterReflectionClass->isUserDefined();
 }