public function __construct($file = null) { $this->file = $file ?: __DIR__ . '/../config/config.php'; $this->load(); }