Peridot\Configuration::getDsl PHP Method

getDsl() public method

Get the path to a DSL file containing test functions to use
public getDsl ( ) : string
return string
    public function getDsl()
    {
        return $this->dsl;
    }

Usage Example

 /**
  * Load the Peridot environment.
  *
  * @return void
  */
 public function load(ReaderInterface $reader)
 {
     $this->configuration = $reader->getConfiguration();
     require_once $this->configuration->getDsl();
     $peridotCallback = (include $this->configuration->getConfigurationFile());
     if (is_callable($peridotCallback)) {
         call_user_func($peridotCallback, $this->emitter);
     }
 }
All Usage Examples Of Peridot\Configuration::getDsl