Jobby\Jobby::getConfig PHP Method

getConfig() public method

public getConfig ( ) : array
return array
    public function getConfig()
    {
        return $this->config;
    }

Usage Example

Beispiel #1
0
 /**
  * @covers ::setConfig
  * @covers ::getConfig
  */
 public function testSetConfig()
 {
     $jobby = new Jobby();
     $oldCfg = $jobby->getConfig();
     $jobby->setConfig(['dateFormat' => 'foo bar']);
     $newCfg = $jobby->getConfig();
     $this->assertEquals(count($oldCfg), count($newCfg));
     $this->assertEquals('foo bar', $newCfg['dateFormat']);
 }
All Usage Examples Of Jobby\Jobby::getConfig