src/Tasks/Map.php
private function linkSubdirectories($src, $to)
	{
		if (is_dir($src))
		{
			$dirHandle = opendir($src);

			while (false !== ($element = readdir($dirHandle)))
			{
				if (substr($element, 0, 1) != '.')
				{
					if (is_dir($src . "/" . $element))
					{
						$this->symlink($src . "/" . $element, $to . '/' . $element);
					}
				}
			}
		}
	}
private function linkSubdirectories($src, $to)
	{
		if (is_dir($src))
		{
			$dirHandle = opendir($src);

			while (false !== ($element = readdir($dirHandle)))
			{
				if (substr($element, 0, 1) != '.')
				{
					if (is_dir($src . "/" . $element))
					{
						$this->symlink($src . "/" . $element, $to . '/' . $element);
					}
				}
			}
		}
	}
private function linkSubdirectories ( $ src , $ to ) { if ( is_dir ( $ src ) ) { $ dirHandle = opendir ( $ src ) ; while ( false !== ( $ element = readdir ( $ dirHandle ) ) ) { if ( substr ( $ element , 0 , 1 ) != '.' ) { if ( is_dir ( $ src . "/" . $ element ) ) { $ this -> symlink ( $ src . "/" . $ element , $ to . '/' . $ element ) ; } } } } }
Link subdirectories into folder

@param   string $src The source
@param   string $to  The target

@return  void

@since   1.0
Link subdirectories into folder