DataSift\Storyplayer\BrowserLib\BaseElementAction::convertMethodNameToWords PHP Method

convertMethodNameToWords() protected method

protected convertMethodNameToWords ( string $methodName ) : array
$methodName string camelCase string to parse
return array
    protected function convertMethodNameToWords($methodName)
    {
        // turn the method name into an array of words
        $words = explode(' ', strtolower(preg_replace('/([^A-Z])([A-Z])/', "\$1 \$2", $methodName)));
        // all done
        return $words;
    }