src/Utilities/ClassMethodHandler.php
private function extract($handler)
    {
        if (is_array($handler)) {
            return $this->fromClassMethodArray($handler);
        }
        if (strpos($handler, self::CHAR_AT) !== false) {
            return $this->fromAtNotation($handler);
        }
        if (strpos($handler, self::CHAR_DOT) !== false) {
            return $this->fromDotNotation($handler);
        }
        return $this->fromClassName($handler);
    }
private function extract($handler)
    {
        if (is_array($handler)) {
            return $this->fromClassMethodArray($handler);
        }
        if (strpos($handler, self::CHAR_AT) !== false) {
            return $this->fromAtNotation($handler);
        }
        if (strpos($handler, self::CHAR_DOT) !== false) {
            return $this->fromDotNotation($handler);
        }
        return $this->fromClassName($handler);
    }
private function extract ( $ handler ) { if ( is_array ( $ handler ) ) { return $ this -> fromClassMethodArray ( $ handler ) ; } if ( strpos ( $ handler , self :: CHAR_AT ) !== false ) { return $ this -> fromAtNotation ( $ handler ) ; } if ( strpos ( $ handler , self :: CHAR_DOT ) !== false ) { return $ this -> fromDotNotation ( $ handler ) ; } return $ this -> fromClassName ( $ handler ) ; }
Extracts the class and method name.
@param string|array $handler The handler parameter
@return void
Extracts the class and method name .