<?php class FDirectory { protected $_sPath; private $rHandle; { throw new FException( "Direcotry {$sPath} just exist" ); return new self( $sPath ); } public function __construct( $sPath ) { throw new FException( "Direcotry {$this->_sPath} does not exist" ); } } ?>
Duży problem... przy wykonaniu create wywala mi exception `Direcotry ##### does not exist` a to dlatego że nie został jeszcze utworzony. Tworzy się trochę za późno

Użycie sleep() chyba nie pomoże bo bóg wie ile ten katalog ma się zamiar tworzyć

Może ktoś coś poradzić ?