public static function setMethodPrefix($methodPrefix) { if ($methodPrefix == '') { throw new exceptions\logic\invalidArgument('Method prefix must not be empty'); } self::$methodPrefix = $methodPrefix; }