phpDocumentor

NonEmptyStringType extends StringType
in package

Class NonEmptyStringType

Shared string type class. Use the "asString" method for getting the plain value.

Notice: The constructor value must not be empty!

Tags
category

System

subpackage

Types

Table of Contents

$value  : string
Instance Value
__construct()  : mixed
Class Constructor
asString()  : string
Get the instance value as string.

Properties

Methods

__construct()

Class Constructor

public __construct(string $p_value) : mixed
Parameters
$p_value : string

Must not be empty.

Tags
throws
InvalidArgumentException
Return values
mixed

asString()

Get the instance value as string.

public asString() : string
Return values
string

Search results