Ejemplo n.º 1
0
 public function testArrayAccess()
 {
     $this->optionBag->register('accuracy');
     $this->assertFalse(isset($this->optionBag['accuracy']));
     $this->assertNull($this->optionBag['accuracy']);
     $this->optionBag['accuracy'] = 'foo';
     $this->assertTrue(isset($this->optionBag['accuracy']));
     $this->assertSame('foo', $this->optionBag['accuracy']);
     unset($this->optionBag['accuracy']);
     $this->assertFalse(isset($this->optionBag['accuracy']));
     $this->assertNull($this->optionBag['accuracy']);
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('lat')->register('long')->register('query')->register('ip')->register('granularity')->register('accuracy')->register('max_results')->register('contained_within')->register('attribute:street_address')->register('callback');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('banner', OptionInterface::TYPE_POST)->register('width', OptionInterface::TYPE_POST)->register('height', OptionInterface::TYPE_POST)->register('offset_left', OptionInterface::TYPE_POST)->register('offset_top', OptionInterface::TYPE_POST);
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('source_id')->register('source_screen_name')->register('target_id')->register('target_screen_name');
 }
Ejemplo n.º 5
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('user_id')->register('screen_name')->register('count')->register('since_id')->register('max_id')->register('include_entities');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('id', OptionInterface::TYPE_PATH);
 }
Ejemplo n.º 7
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('include_entities')->register('skip_status')->register('cursor');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('id', OptionInterface::TYPE_POST)->register('include_entities', OptionInterface::TYPE_POST);
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('image', OptionInterface::TYPE_POST)->register('tile', OptionInterface::TYPE_POST)->register('include_entities', OptionInterface::TYPE_POST)->register('skip_status', OptionInterface::TYPE_POST)->register('use', OptionInterface::TYPE_POST);
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('user_id')->register('screen_name')->register('cursor')->register('filter_to_owned_lists');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('lat')->register('long')->register('name')->register('contained_within')->register('attribute:street_address')->register('callback');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('query', OptionInterface::TYPE_POST);
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('trend_location_woeid', OptionInterface::TYPE_POST)->register('sleep_time_enabled', OptionInterface::TYPE_POST)->register('start_sleep_time', OptionInterface::TYPE_POST)->register('end_sleep_time', OptionInterface::TYPE_POST)->register('time_zone', OptionInterface::TYPE_POST)->register('lang', OptionInterface::TYPE_POST);
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('id', OptionInterface::TYPE_PATH)->register('count')->register('trim_user');
 }
Ejemplo n.º 15
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('id', OptionInterface::TYPE_PATH)->register('trim_user')->register('include_my_retweet')->register('include_entities');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('user_id')->register('screen_name');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('stringify_ids');
 }
Ejemplo n.º 18
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('q')->register('page')->register('count')->register('include_entities');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('user_id', OptionInterface::TYPE_POST)->register('screen_name', OptionInterface::TYPE_POST)->register('follow', OptionInterface::TYPE_POST);
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('lang');
 }
Ejemplo n.º 21
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('id')->register('url')->register('maxwidth')->register('hide_media')->register('hide_thread')->register('omit_script')->register('align')->register('related')->register('lang');
 }
Ejemplo n.º 22
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('status', OptionInterface::TYPE_POST)->register('in_reply_to_status_id', OptionInterface::TYPE_POST)->register('lat', OptionInterface::TYPE_POST)->register('long', OptionInterface::TYPE_POST)->register('place_id', OptionInterface::TYPE_POST)->register('display_coordinates', OptionInterface::TYPE_POST)->register('trim_user', OptionInterface::TYPE_POST);
 }
Ejemplo n.º 23
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('user_id')->register('screen_name')->register('cursor')->register('count')->register('skip_status')->register('include_user_entities');
 }
Ejemplo n.º 24
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('since_id')->register('max_id')->register('count')->register('include_entities')->register('skip_status');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('user_id', OptionInterface::TYPE_POST)->register('screen_name', OptionInterface::TYPE_POST)->register('device_notification', OptionInterface::TYPE_POST)->register('retweets', OptionInterface::TYPE_POST);
 }
Ejemplo n.º 26
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('user_id')->register('screen_name')->register('cursor')->register('stringify_ids')->register('count');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('list_id', OptionInterface::TYPE_POST)->register('slug', OptionInterface::TYPE_POST)->register('owner_screen_name', OptionInterface::TYPE_POST)->register('owner_id', OptionInterface::TYPE_POST);
 }
Ejemplo n.º 28
0
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('id')->register('exclude');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('lat')->register('long')->register('accuracy')->register('granularity')->register('max_results')->register('callback');
 }
 /**
  * {@inheritdoc}
  */
 protected function configureOptionBag(OptionBag $optionBag)
 {
     $optionBag->register('name', OptionInterface::TYPE_POST)->register('url', OptionInterface::TYPE_POST)->register('location', OptionInterface::TYPE_POST)->register('description', OptionInterface::TYPE_POST)->register('include_entities', OptionInterface::TYPE_POST)->register('skip_status', OptionInterface::TYPE_POST);
 }