phpmock\functions\FixedMicrotimeFunction::getCallable PHP Méthode

getCallable() public méthode

Returns this object as a callable for the mock function.
public getCallable ( ) : callable
Résultat callable The callable for this object.
    public function getCallable()
    {
        return [$this, "getMicrotime"];
    }