Library/Cache/SlotsCache.php
public static function getExistingMethodSlot(ClassMethod $method)
    {
        $className = $method->getClassDefinition()->getCompleteName();
        $methodName = $method->getName();

        if (isset(self::$cacheMethodSlots[$className][$methodName])) {
            return self::$cacheMethodSlots[$className][$methodName];
        }

        return 0;
    }
public static function getExistingMethodSlot(ClassMethod $method)
    {
        $className = $method->getClassDefinition()->getCompleteName();
        $methodName = $method->getName();

        if (isset(self::$cacheMethodSlots[$className][$methodName])) {
            return self::$cacheMethodSlots[$className][$methodName];
        }

        return 0;
    }
public static function getExistingMethodSlot ( ClassMethod $ method ) { $ className = $ method -> getClassDefinition ( ) -> getCompleteName ( ) ; $ methodName = $ method -> getName ( ) ; if ( isset ( self :: $ cacheMethodSlots [ $ className ] [ $ methodName ] ) ) { return self :: $ cacheMethodSlots [ $ className ] [ $ methodName ] ; } return 0 ; }
Returns a cache slot for a method.

@param ClassMethod $method

@return int
Returns a cache slot for a method .