InterNations\Component\HttpMock\PHPUnit\HttpMockFacade::getProperties PHP Méthode

getProperties() public static méthode

public static getProperties ( )
    public static function getProperties()
    {
        return ['server', 'matches', 'mock', 'requests', 'client'];
    }

Usage Example

 public function __get($property)
 {
     if (in_array($property, HttpMockFacade::getProperties(), true)) {
         throw new OutOfBoundsException(sprintf('Tried to access facade property "%1$s" on facade map. First select one of the facades from ' . 'the map. Defined facades: "%2$s", try $this->http[\'%s\']->%1$s->…', $property, implode('", "', array_keys($this->facadeMap)), current(array_keys($this->facadeMap))));
     }
     throw new OutOfBoundsException(sprintf('Tried to access property "%1$s". This is a map of facades, try $this->http[\'%1$s\'] instead.', $property));
 }