PHP 인터페이스 gossi\codegen\model\ValueInterface

파일 보기 프로젝트 열기: gossi/php-code-generator 0 사용 예제들

공개 메소드들

메소드 설명
getExpression ( ) : string Returns the expression
getValue ( ) : mixed Returns the value
hasValue ( ) : boolean Checks whether a value or expression is set
isExpression ( ) : boolean Returns whether an expression is set
setExpression ( string $expr ) Sets an expression
setValue ( mixed $value ) Sets the value
unsetExpression ( ) Unsets the expression
unsetValue ( ) Unsets the value

메소드 상세

getExpression() 공개 메소드

Returns the expression
public getExpression ( ) : string
리턴 string

getValue() 공개 메소드

Returns the value
public getValue ( ) : mixed
리턴 mixed

hasValue() 공개 메소드

Checks whether a value or expression is set
public hasValue ( ) : boolean
리턴 boolean

isExpression() 공개 메소드

Returns whether an expression is set
public isExpression ( ) : boolean
리턴 boolean

setExpression() 공개 메소드

Sets an expression
public setExpression ( string $expr )
$expr string

setValue() 공개 메소드

Sets the value
public setValue ( mixed $value )
$value mixed

unsetExpression() 공개 메소드

Unsets the expression
public unsetExpression ( )

unsetValue() 공개 메소드

Unsets the value
public unsetValue ( )