<?php

$class = new \OCP\NamespaceName\ClassName();
$class->methodName();
$class::methodName();