Factory::makeAs()

mixed makeAs(string $class, string $name, array $attributes = array()) Create an instance of the given model and type. Parameters string $class string $name array $attributes Return Value mixed

Factory::make()

Paginator make(array $items, int $total, int|null $perPage = null) Get a new paginator instance. Parameters array $items int $total int|null $perPage Return Value Paginator

Factory::make()

View make(string $view, array $data = array(), array $mergeData = array()) Get the evaluated view contents for the given view. Parameters string $view array $data array $mergeData Return Value View

Factory::make()

Validator make(array $data, array $rules, array $messages = array(), array $customAttributes = array()) Create a new Validator instance. Parameters array $data array $rules array $messages array $customAttributes Return Value Validator

Factory::make()

mixed make(string $class, array $attributes = array()) Create an instance of the given model. Parameters string $class array $attributes Return Value mixed

Factory::make()

View make(string $view, array $data = array(), array $mergeData = array()) Get the evaluated view contents for the given view. Parameters string $view array $data array $mergeData Return Value View

Factory::make()

Validator make(array $data, array $rules, array $messages = array(), array $customAttributes = array()) Create a new Validator instance. Parameters array $data array $rules array $messages array $customAttributes Return Value Validator

Factory::make()

Cookie make(string $name, string $value, int $minutes, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = true) Create a new cookie instance. Parameters string $name string $value int $minutes string $path string $domain bool $secure bool $httpOnly Return Value Cookie

Factory::load()

$this load(string $path) Load factories from path. Parameters string $path Return Value $this

Factory::inject()

void inject(string $section, string $content) Inject inline content into a section. Parameters string $section string $content Return Value void