phpmock\functions\FixedMicrotimeFunction::getCallable PHP Method

getCallable() public method

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