« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for targetDirectory (0.001 sec.)
アトリビュートの概要 11228
« アトリビュート アトリビュートの文法 » PHP Manual アトリビュート アトリビュートの概要 検索 アトリビュートの概要 (PHP 8) PHP のアトリビュートは、クラス、メソッド、関数、パラメータ、プロパティ、定数に、 構造化され、かつマシンが読み取り可能な ... ute (); } #[ Attribute ] class SetUp {} class CopyFile implements ActionHandler { public string $fileName ; public string $targetDirectory ; #[ SetUp ] public function fileExists () { if (! file_exists ( $this -> fileName )) { throw new RuntimeException ( "File ... does not exist" ); } } #[ SetUp ] public function targetDirectoryExists () { if (! file_exists ( $this -> targetDirectory )) { mkdir ( $this -> targetDirectory ); } elseif (! is_dir ( $thi ... s -> targetDirectory )) { throw new RuntimeException ( "Target directory $this -> targetDirectory is not a directory" ); } } public function ex ...
https://man.mtool.work/php/8.3/language.attributes.overview.html
アトリビュートの概要 7485
« アトリビュート アトリビュートの文法 » PHP Manual アトリビュート アトリビュートの概要 検索 アトリビュートの概要 (PHP 8) PHP のアトリビュートは、クラス、メソッド、関数、パラメータ、プロパティ、定数に、 構造化され、かつマシンが読み取り可能な ... ute (); } #[ Attribute ] class SetUp {} class CopyFile implements ActionHandler { public string $fileName ; public string $targetDirectory ; #[ SetUp ] public function fileExists () { if (! file_exists ( $this -> fileName )) { throw new RuntimeException ( "File ... does not exist" ); } } #[ SetUp ] public function targetDirectoryExists () { if (! file_exists ( $this -> targetDirectory )) { mkdir ( $this -> targetDirectory ); } elseif (! is_dir ( $thi ... s -> targetDirectory )) { throw new RuntimeException ( "Target directory $this -> targetDirectory is not a directory" ); } } public function ex ...
https://man.mtool.work/php/8.3/language.attributes.overview.html
PREV 1 NEXT