Commit 0dd30a37 authored by SASSU Thomas's avatar SASSU Thomas
Browse files

namespaces

parent f53173a1
<?php
namespace fridgie\controleurs;
namespace gp\modeles;
use \gp\vues\VuePrincipale as VuePrincipale;
class ControleurPrincipal
{
public function afficherAccueil() {
$tab = [];
$v = new \fridgie\vues\VuePrincipale($tab);
$v = new VuePrincipale($tab);
$v->render('afficherAccueil');
}
}
\ No newline at end of file
<?php
use Illuminate\Database\Eloquent\Builder;
class Apporte extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'apporte';
protected $primaryKey = ['idCli', 'idIngre', 'idEvent'];
public $timestamps = false;
public $incrementing = false;
public function ingredient()
{
return $this->hasOne('\fridgie\modeles\Ingredient', 'idIngre');
}
}
<?php
namespace gp\modeles;
use Illuminate\Database\Eloquent\Builder;
class Character extends \Illuminate\Database\Eloquent\Model
{
......
<?php
namespace fridgie\modeles;
namespace gp\modeles;
class Client extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'client';
......
<?php
namespace gp\modeles;
class Company extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'company';
......
<?php
namespace fridgie\modeles;
namespace gp\modeles;
use Illuminate\Database\Eloquent\Builder;
class Contient extends \Illuminate\Database\Eloquent\Model
{
......
<?php
namespace gp\modeles;
use Illuminate\Database\Eloquent\Builder;
class Game extends \Illuminate\Database\Eloquent\Model
{
......
<?php
namespace gp\modeles;
use Illuminate\Database\Eloquent\Builder;
class Genre extends \Illuminate\Database\Eloquent\Model
{
......
<?php
namespace gp\modeles;
use Illuminate\Database\Eloquent\Builder;
class Platform extends \Illuminate\Database\Eloquent\Model
{
......
<?php
namespace gp\modeles;
class Theme extends \Illuminate\Database\Eloquent\Model
{
protected $table = 'theme';
......
<?php
namespace fridgie\vues;
namespace gp\vues;
class VuePrincipale
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment