public function snapshotName() { return parent::name('snapshot') + ['type' => self::STRING_TYPE, 'location' => self::JSON]; }
public function urlId($type) : array { return array_merge(parent::id($type), ['required' => true, 'location' => self::URL]); }
private function stockLocation(array $data) { $this->location = isset($data['location']) ? $data['location'] : self::DEFAULT_LOCATION; if (!AbstractParams::isSupportedLocation($this->location)) { throw new \RuntimeException(sprintf("%s is not a permitted location", $this->location)); } }
public function urlId($type) { return array_merge(parent::id($type), ['required' => true, 'location' => self::URL, 'documented' => false]); }
public function urlId($type) { return parent::id($type) + ['required' => true, 'location' => self::URL]; }