A super easy PHP Framework for web development!
				https://github.com/exacti/phacil-framework
			
			
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							52 lines
						
					
					
						
							904 B
						
					
					
				
			
		
		
	
	
							52 lines
						
					
					
						
							904 B
						
					
					
				<?php
 | 
						|
/**
 | 
						|
 * Copyright © 2024 ExacTI Technology Solutions. All rights reserved.
 | 
						|
 * GPLv3 General License.
 | 
						|
 * https://exacti.com.br
 | 
						|
 * Phacil PHP Framework - https://github.com/exacti/phacil-framework
 | 
						|
 */
 | 
						|
 | 
						|
 namespace Phacil\Framework;
 | 
						|
 | 
						|
/**
 | 
						|
 * @since 2.0.0
 | 
						|
 * @package Phacil\Framework
 | 
						|
 */
 | 
						|
 class Version {
 | 
						|
	/**
 | 
						|
	 * 
 | 
						|
	 * @var string
 | 
						|
	 */
 | 
						|
	private $framework;
 | 
						|
 | 
						|
	public function __construct($framework, $teste) {
 | 
						|
		$this->framework = $framework;
 | 
						|
	}
 | 
						|
 | 
						|
	/** 
 | 
						|
	 * Return Phacil Framework version
 | 
						|
	 * 
 | 
						|
	 * @return string|false  
 | 
						|
	 */
 | 
						|
	public function get()
 | 
						|
	{
 | 
						|
		return $this->framework;
 | 
						|
		//return file_get_contents(\Phacil\Framework\Config::DIR_SYSTEM() . "engine/VERSION");
 | 
						|
	}
 | 
						|
 | 
						|
	/**
 | 
						|
	 * Alias for get method
 | 
						|
	 * @return string|false 
 | 
						|
	 */
 | 
						|
	public function getFrameworkVersion() {
 | 
						|
		return $this->get();
 | 
						|
	}
 | 
						|
 | 
						|
	/**
 | 
						|
	 * 
 | 
						|
	 * @return string|false 
 | 
						|
	 */
 | 
						|
	public function getPHPVersion() {
 | 
						|
		return phpversion();
 | 
						|
	}
 | 
						|
} |