Pinq\Analysis\ITypeSystem::getTypeFromValue PHP Метод

getTypeFromValue() публичный Метод

Gets of the type of the supplied value.
public getTypeFromValue ( mixed $value ) : Pinq\Analysis\IType
$value mixed
Результат Pinq\Analysis\IType
    public function getTypeFromValue($value);

Usage Example

Пример #1
0
 public function visitValue(O\ValueExpression $expression)
 {
     $this->analysis[$expression] = $this->typeSystem->getTypeFromValue($expression->getValue());
 }