DbPatch_Core_Console::getArguments PHP Method

getArguments() public method

public getArguments ( ) : array
return array
    public function getArguments()
    {
        return $this->arguments;
    }

Usage Example

Example #1
0
 public function testGetArguments()
 {
     $argv = array('./dbpatch.php', 'update', '--skip=2,3');
     $console = new DbPatch_Core_Console($argv);
     $this->assertEquals(array_slice($argv, 1), $console->getArguments());
 }