Automattic\WooCommerce\Blueprint
ClassExtractor::__construct
Constructor.
Метод класса: ClassExtractor{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ClassExtractor = new ClassExtractor(); $ClassExtractor->__construct( $file_path );
- $file_path(строка) (обязательный)
- Path to the PHP file to process.
Код ClassExtractor::__construct() ClassExtractor:: construct WC 10.0.2
public function __construct( string $file_path ) { if ( ! file_exists( $file_path ) ) { throw new \InvalidArgumentException( "File not found: $file_path" ); } $this->file_path = $file_path; }