protected static function runPackageScripts($staticMethodReference)
{
$className = substr($staticMethodReference, 0, strpos($staticMethodReference, '::'));
$methodName = substr($staticMethodReference, strpos($staticMethodReference, '::') + 2);
if (!class_exists($className)) {
throw new Exception\InvalidConfigurationException('Class "' . $className . '" is not autoloadable, can not call "' . $staticMethodReference . '"', 1348751076);
}
if (!is_callable($staticMethodReference)) {
throw new Exception\InvalidConfigurationException('Method "' . $staticMethodReference . '" is not callable', 1348751082);
}
$className::$methodName();
}