Sledgehammer Framework

functions.php

Table of Contents

getRepository()  : DefaultRepository|Repository
Get a Repository by ID This allows instances to reference a Repository by id instead of a full php reference. Keeping the (var_)dump clean.

Functions

getRepository()

Get a Repository by ID This allows instances to reference a Repository by id instead of a full php reference. Keeping the (var_)dump clean.

getRepository([string $id = 'default' ]) : DefaultRepository|Repository
Parameters
$id : string = 'default'
Return values
DefaultRepository|Repository

Search results