PHP code example of drbonzo / metassione

1. Go to this page and download the library: Download drbonzo/metassione library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

drbonzo / metassione example snippets


	namespace NorthslopePL\Metassione\Tests\Examples;
	
	class PropertyWithoutFullClassname
	{
		/**
		 * Fully qualified class name - same namespace
		 *
		 * @var \NorthslopePL\Metassione\Tests\Examples\ChildKlass
		 */
		private $firstChild;
	
		/**
		 * Class from the same namespace as current file.
		 * This is the same as '\NorthslopePL\Metassione\Tests\Examples\ChildKlass'
		 *
		 * @var ChildKlass
		 */
		private $secondChild;
	
		/**
		 * Fully qualified class name - other namespace
		 *
		 * @var \Other\Lib\ChildKlass
		 */
		private $thirdChild;
		
		/**
		 * Not fully qualified class name - from global namespace
		 * @var SomeClassWithoutNamespace
		 */
		private $fourthChild;
	}
	

	namespace NorthslopePL\Metassione\Tests\Examples;
	
	class PropertyWithoutFullClassname
	{
		/**
		 * @var \NorthslopePL\Metassione\Tests\Examples\ChildKlass
		 */
		private $firstChild;
	
		/**
		 * @var ChildKlass
		 */
		private $secondChild;
	
		/**
		 * @var \Other\Lib\ChildKlass
		 */
		private $thirdChild;
	}