src/SharedData.php
public static function getSharedFromArgs($arguments = [], $key = null, $defaultValue = null) {
        if ($key === null) {
            return null;
        }
        /** @var SharedDataInterface $instance */
        if (($instance = static::instanceFromArguments($arguments)) === null) {
            return null;
        }
        return $instance->getData($key, $defaultValue);
    }
public static function getSharedFromArgs($arguments = [], $key = null, $defaultValue = null) {
        if ($key === null) {
            return null;
        }
        /** @var SharedDataInterface $instance */
        if (($instance = static::instanceFromArguments($arguments)) === null) {
            return null;
        }
        return $instance->getData($key, $defaultValue);
    }
public static function getSharedFromArgs ( $ arguments = [ ] , $ key = null , $ defaultValue = null ) { if ( $ key === null ) { return null ; } /** @var SharedDataInterface $instance */ if ( ( $ instance = static :: instanceFromArguments ( $ arguments ) ) === null ) { return null ; } return $ instance -> getData ( $ key , $ defaultValue ) ; }
Get data from function arguments shared instance
@param array  $arguments
@param string $key
@param mixed  $defaultValue
@return mixed|null
Get data from function arguments shared instance