Factory::raw()

array raw(string $class, array $attributes = array(), string $name = 'default') Get the raw attribute array for a given model. Parameters string $class array $attributes string $name Return Value array

Factory::prependNamespace()

void prependNamespace(string $namespace, string|array $hints) Prepend a new namespace to the loader. Parameters string $namespace string|array $hints Return Value void

Factory::popLoop()

void popLoop() Pop a loop from the top of the loop stack. Return Value void

Factory::offsetUnset()

void offsetUnset(string $offset) Unset the value at the given offset. Parameters string $offset Return Value void

Factory::offsetSet()

void offsetSet(string $offset, callable $value) Set the given offset to the given value. Parameters string $offset callable $value Return Value void

Factory::offsetGet()

mixed offsetGet(string $offset) Get the value of the given offset. Parameters string $offset Return Value mixed

Factory::offsetExists()

bool offsetExists(string $offset) Determine if the given offset exists. Parameters string $offset Return Value bool

Factory::of()

View of(string $view, mixed $data = array()) Get the evaluated view contents for a named view. Parameters string $view mixed $data Return Value View

Factory::of()

FactoryBuilder of(string $class, string $name = 'default') Create a builder for the given model. Parameters string $class string $name Return Value FactoryBuilder

Factory::name()

void name(string $view, string $name) Register a named view. Parameters string $view string $name Return Value void