Overview

Namespaces

  • Deimos
    • Flow
      • Extension
        • TBlock
        • TFor
        • TForeach
        • TIF
        • TLiteral
        • TPHP
        • TSimple
        • TTry
        • TWhile
      • Traits
  • PHP

Classes

  • Block
  • Configure
  • DefaultConfig
  • DefaultContainer
  • Flow
  • FlowForeach
  • FlowFunction
  • ForeachState
  • Lexer
  • LexerConst
  • Tokenizer
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class Configure

Deimos\Flow\Configure uses Deimos\Flow\Traits\FileSystem
Namespace: Deimos\Flow
Located at Flow/Configure.php
Methods summary
public
# __construct( )

Configure constructor.

Configure constructor.

public Deimos\DI\DI
# di( Deimos\Flow\DefaultContainer $di = null )

Parameters

$di

Returns

Deimos\DI\DI
public Deimos\Flow\Block
# block( )

Returns

Deimos\Flow\Block
public Deimos\Flow\Tokenizer
# tokenizer( )

Returns

Deimos\Flow\Tokenizer
public boolean
# isPhpEnable( )

Returns

boolean
public boolean
# isDebug( )

Returns

boolean
public
# phpEnable( )

set php enable

set php enable

public
# debugEnable( )

set php enable

set php enable

public string
# compile( string $path = null )

Parameters

$path

Returns

string

Throws

InvalidArgumentException
public mixed
# getFile( $path )

Parameters

$path

Returns

mixed

Throws

InvalidArgumentException
public mixed
# requireFile( $path )

Parameters

$path

Returns

mixed

Throws

InvalidArgumentException
public array
# extendsFile( string $view, string $path )

Parameters

$view
$path

Returns

array

Throws

InvalidArgumentException
public boolean
# getExtendsAll( $view )

Parameters

$view

Returns

boolean
public array
# getExtendsFile( string $view, boolean $remove = false )

Parameters

$view
$remove

Returns

array
public string
# template( string $path = null )

Parameters

$path

Returns

string

Throws

InvalidArgumentException
public string
# ext( string $value = null )

Parameters

$value

Returns

string
public
# getVariables( )
public
# __get( $name )
public
# __isset( $name )
public
# __set( $name, $value )
public
# getVariable( $name )
public
# issetVariable( $name )
public
# setVariable( $name, $value )
Methods used from Deimos\Flow\Traits\FileSystem
createDirectory()
Properties summary
protected string $compile
#
protected string $template
#
protected Deimos\Flow\Tokenizer $tokenizer
#
protected Deimos\DI\DI $block
#
protected Deimos\Flow\DefaultContainer $di
#
protected string $ext
# 'tpl'
protected array $extends
# []
protected array $extendsAll
# []
protected boolean $phpEnable
# false
protected boolean $isDebug
# false
protected array $variable
# []
API documentation generated by ApiGen