App\Services\Repositories\Repository::get PHP Méthode

get() public méthode

Retrieve an item from the repository by key.
public get ( string $key, mixed $default = null ) : mixed
$key string
$default mixed
Résultat mixed
    public function get($key, $default = null)
    {
        return Arr::get($this->items, $key, $default);
    }