Liip\RMT\Context::getParam PHP Method

getParam() public static method

Shortcut to retried a parameter
public static getParam ( string $name ) : mixed
$name string
return mixed
    public static function getParam($name)
    {
        return self::getInstance()->getParameter($name);
    }

Usage Example

Example #1
0
 /**
  * Get the destination directory to build the package into.
  *
  * @return string The destination
  */
 protected function getDestination()
 {
     $destination = $this->options['destination'];
     if ($this->isRelativePath($destination)) {
         return Context::getParam('project-root') . '/' . $destination;
     }
     return $destination;
 }
All Usage Examples Of Liip\RMT\Context::getParam