phpmock\functions\FixedMicrotimeFunction::getCallable PHP 메소드

getCallable() 공개 메소드

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