src/Aws.php
public function respondsTo($name = null)
    {
        static $services;

        if (!$services) {
            $services = [];
            foreach (glob(__DIR__ . "/models/*.resources.php") as $file) {
                $services[] = substr(basename($file), 0, -25);
            }
            $services = array_unique($services);
        }

        return $name ? in_array($name, $services, true) : $services;
    }
public function respondsTo($name = null)
    {
        static $services;

        if (!$services) {
            $services = [];
            foreach (glob(__DIR__ . "/models/*.resources.php") as $file) {
                $services[] = substr(basename($file), 0, -25);
            }
            $services = array_unique($services);
        }

        return $name ? in_array($name, $services, true) : $services;
    }
public function respondsTo ( $ name = null ) { static $ services ; if ( ! $ services ) { $ services = [ ] ; foreach ( glob ( __DIR__ . "/models/*.resources.php" ) as $ file ) { $ services [ ] = substr ( basename ( $ file ) , 0 , - 25 ) ; } $ services = array_unique ( $ services ) ; } return $ name ? in_array ( $ name , $ services , true ) : $ services ; }
Introspects which resources are accessible to call on this object.

@param string|null $name

@return array|bool
Introspects which resources are accessible to call on this object .