Example #1
0
 public function strings()
 {
     return array_merge(parent::strings(), array('message' => ''));
 }
 public function __construct($message)
 {
     parent::__construct($message);
 }
Example #3
0
 function __construct($first, $second)
 {
     parent::__construct(sprintf("Detected configuration files provide conflicting cache paths: %s and %s", $first, $second));
 }
Example #4
0
 /**
  * File is not readable
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('File is not readable: "' . $name . '"');
 }
Example #5
0
 /**
  * File is not returning an array
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('Config files must return an array: "' . $name . '"');
 }
Example #6
0
 /**
  * Extension is not php
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('Extension is not php: "' . $name . '"');
 }
 /**
  * Variable is not defined
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('Config variable is not defined: "' . $name . '"');
 }
Example #8
0
 /**
  * File or directory not found
  *
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct('File or directory not found: "' . $name . '"');
 }