TwistPHP Documentation

version

File path: dist/twist/Twist.php
Namespace: \
Extends:

versionReturn the version number of the framework, optionally you can return a single part of the version number (major, minor, build)

Parameters

Name Type Description
[$strVersionPart = null]stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strVersionPart null;

//Call the function version with the example vars
Twist::Twist() -> version($strVersionPart);