Former\Traits\Field::currentFramework PHP Method

currentFramework() protected method

Get the current framework instance
protected currentFramework ( ) : Former\Traits\Framework
return Former\Traits\Framework
    protected function currentFramework()
    {
        if ($this->app->bound('former.form.framework')) {
            return $this->app['former.form.framework'];
        }
        return $this->app['former.framework'];
    }