private function getPropertyName($methodName)
    {
        $pattern = implode('|', array_merge(self::$accessorPrefixes, self::$mutatorPrefixes));

        if (preg_match('/^('.$pattern.')(.+)$/i', $methodName, $matches)) {
            return $matches[2];
        }
    }
private function getPropertyName($methodName)
    {
        $pattern = implode('|', array_merge(self::$accessorPrefixes, self::$mutatorPrefixes));

        if (preg_match('/^('.$pattern.')(.+)$/i', $methodName, $matches)) {
            return $matches[2];
        }
    }
private function getPropertyName ( $ methodName ) { $ pattern = implode ( '|' , array_merge ( self :: $ accessorPrefixes , self :: $ mutatorPrefixes ) ) ; if ( preg_match ( '/^(' . $ pattern . ')(.+)$/i' , $ methodName , $ matches ) ) { return $ matches [ 2 ] ; } }
Extracts a property name from a method name.

@param string $methodName

@return string
Extracts a property name from a method name .