/** * Gets\sets phar directory * * @param string $pharDir * @return mixed */ public static function pharDir($pharDir = null) { // Hook... If we not in phar if (self::$_pharDir === null) { self::$_pharDir = ROOT; } if ($pharDir === null) { return self::$_pharDir; } self::$_pharDir = realpath($pharDir) . DIRECTORY_SEPARATOR; }