PHP 클래스 Barryvdh\LaravelIdeHelper\Generator

파일 보기 프로젝트 열기: barryvdh/laravel-ide-helper 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config Illuminate\Config\Repository
$extra
$helpers
$interfaces
$magic
$output Symfony\Component\Console\Output\OutputInterface
$view Illuminate\View\Factory

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
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

메소드 상세

__construct() 공개 메소드

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 detectDrivers ( )

error() 보호된 메소드

Write a string as error output.
protected error ( string $string ) : void
$string string
리턴 void

generate() 공개 메소드

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

generateJsonHelper() 공개 메소드

public generateJsonHelper ( )

generatePhpHelper() 공개 메소드

public generatePhpHelper ( )

getAliases() 보호된 메소드

protected getAliases ( )

getDriver() 공개 메소드

Get the driver/connection/store from the managers
public getDriver ( $alias ) : array | boolean | string
$alias
리턴 array | boolean | string

getNamespaces() 보호된 메소드

Find all namespaces/aliases that are valid for us to render
protected getNamespaces ( ) : array
리턴 array

프로퍼티 상세

$config 보호되어 있는 프로퍼티

protected Repository,Illuminate\Config $config
리턴 Illuminate\Config\Repository

$extra 보호되어 있는 프로퍼티

protected $extra

$helpers 보호되어 있는 프로퍼티

protected $helpers

$interfaces 보호되어 있는 프로퍼티

protected $interfaces

$magic 보호되어 있는 프로퍼티

protected $magic

$output 보호되어 있는 프로퍼티

protected OutputInterface,Symfony\Component\Console\Output $output
리턴 Symfony\Component\Console\Output\OutputInterface

$view 보호되어 있는 프로퍼티

protected Factory,Illuminate\View $view
리턴 Illuminate\View\Factory