TwistPHP Documentation

version

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

versionReturn the version number of the framework, optionally you can return a shorter version number by specifying the level of detail you want (major, minor, patch, pre-release).
TwistPHP adheres to the Semantic Versioning 2.0.0 standards (http://semver.org/)

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);