PHP Class Barryvdh\LaravelIdeHelper\Generator

Afficher le fichier Open project: barryvdh/laravel-ide-helper Class Usage Examples

Protected Properties

Свойство Type Description
$config Illuminate\Config\Repository
$extra
$helpers
$interfaces
$magic
$output Symfony\Component\Console\Output\OutputInterface
$view Illuminate\View\Factory

Méthodes publiques

Méthode Description
__construct ( Illuminate\Config\Repository $config, Illuminate\View\Factory $view, Symfony\Component\Console\Output\OutputInterface $output = null, string $helpers = '' )
generate ( string $format = 'php' ) : string; Generate the helper file contents;
generateJsonHelper ( )
generatePhpHelper ( )
getDriver ( $alias ) : array | boolean | string Get the driver/connection/store from the managers

Méthodes protégées

Méthode Description
detectDrivers ( )
error ( string $string ) : void Write a string as error output.
getAliases ( )
getNamespaces ( ) : array Find all namespaces/aliases that are valid for us to render

Method Details

__construct() public méthode

public __construct ( Illuminate\Config\Repository $config, Illuminate\View\Factory $view, Symfony\Component\Console\Output\OutputInterface $output = null, string $helpers = '' )
$config Illuminate\Config\Repository
$view Illuminate\View\Factory
$output Symfony\Component\Console\Output\OutputInterface
$helpers string

detectDrivers() protected méthode

protected detectDrivers ( )

error() protected méthode

Write a string as error output.
protected error ( string $string ) : void
$string string
Résultat void

generate() public méthode

Generate the helper file contents;
public generate ( string $format = 'php' ) : string;
$format string The format to generate the helper in (php/json)
Résultat string;

generateJsonHelper() public méthode

public generateJsonHelper ( )

generatePhpHelper() public méthode

public generatePhpHelper ( )

getAliases() protected méthode

protected getAliases ( )

getDriver() public méthode

Get the driver/connection/store from the managers
public getDriver ( $alias ) : array | boolean | string
$alias
Résultat array | boolean | string

getNamespaces() protected méthode

Find all namespaces/aliases that are valid for us to render
protected getNamespaces ( ) : array
Résultat array

Property Details

$config protected_oe property

protected Repository,Illuminate\Config $config
Résultat Illuminate\Config\Repository

$extra protected_oe property

protected $extra

$helpers protected_oe property

protected $helpers

$interfaces protected_oe property

protected $interfaces

$magic protected_oe property

protected $magic

$output protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $output
Résultat Symfony\Component\Console\Output\OutputInterface

$view protected_oe property

protected Factory,Illuminate\View $view
Résultat Illuminate\View\Factory