src/Fluent/Runner.php
public function get(Builder $builder)
    {
        // First, we will retrieve the field's value using our composed behavior.
        $value = $this->behavior->get(
            $builder->field,
            $builder->id,
            ! $builder->raw
        );

        // Next, we will iterate over the defined components and pass our value
        // through each component's method if it was defined on the builder.
        foreach ($this->components as $component) {
            if (! is_null($builder->$component)) {
                $method = 'run'.ucfirst($component);

                $value = $this->$method($builder->$component, $value);
            }
        }

        return $value;
    }
public function get(Builder $builder)
    {
        // First, we will retrieve the field's value using our composed behavior.
        $value = $this->behavior->get(
            $builder->field,
            $builder->id,
            ! $builder->raw
        );

        // Next, we will iterate over the defined components and pass our value
        // through each component's method if it was defined on the builder.
        foreach ($this->components as $component) {
            if (! is_null($builder->$component)) {
                $method = 'run'.ucfirst($component);

                $value = $this->$method($builder->$component, $value);
            }
        }

        return $value;
    }
public function get ( Builder $ builder ) { // First, we will retrieve the field's value using our composed behavior. $ value = $ this -> behavior -> get ( $ builder -> field , $ builder -> id , ! $ builder -> raw ) ; // Next, we will iterate over the defined components and pass our value // through each component's method if it was defined on the builder. foreach ( $ this -> components as $ component ) { if ( ! is_null ( $ builder -> $ component ) ) { $ method = 'run' . ucfirst ( $ component ) ; $ value = $ this -> $ method ( $ builder -> $ component , $ value ) ; } } return $ value ; }
Run the ACF 'get' behavior from the given builder.

@param  \Samrap\Acf\Fluent\Builder  $builder
@return mixed
Run the ACF get behavior from the given builder .