src/Fielder.php
public function make($class, $type, $slug, $arguments = [])
    {
        $field = $this->container->make($class);

        $field
            ->setType($type)
            ->setSlug($slug)
            ->setArguments($arguments)
            ->boot();

        return $field;
    }
public function make($class, $type, $slug, $arguments = [])
    {
        $field = $this->container->make($class);

        $field
            ->setType($type)
            ->setSlug($slug)
            ->setArguments($arguments)
            ->boot();

        return $field;
    }
public function make ( $ class , $ type , $ slug , $ arguments = [ ] ) { $ field = $ this -> container -> make ( $ class ) ; $ field -> setType ( $ type ) -> setSlug ( $ slug ) -> setArguments ( $ arguments ) -> boot ( ) ; return $ field ; }
Creates field instance.

@param  string $class
@param  string $type
@param  string $slug
@param  array $arguments

@return \Assely\Contracts\Field\FieldInterface
Creates field instance .