OperatorResource
abstract class OperatorResource extends AbstractResource implements OperatorInterface
Traits
Constants
| DEFAULT_MARKER_KEY | 
                             
 
  | 
                    
Methods
                                model
                                (string $class, $data = null)
                                 :                                 ResourceInterface
                            
                                                            No description
Will create a new instance of this class with the current HTTP client and API injected in. This is useful when enumerating over a collection since multiple copies of the same resource class are needed.
                                executeWithState
                                (array $definition)
                                 :                                 mixed
                            
                                                            No description
                                enumerate
                                (array $def, array $userVals = array(), callable $mapFn = null)
                                                                
                            
                                                            {@inheritDoc}
                                extractMultipleInstances
                                (ResponseInterface $response, string $key = null)
                                                                
                            
                                                            No description
Details
                
                
                                                                            newInstance()
            
            Will create a new instance of this class with the current HTTP client and API injected in. This is useful when enumerating over a collection since multiple copies of the same resource class are needed.