<commit_before><?php
require_once('auth_tutorial7.php');

use cascade_ws_AOHS      as aohs;
use cascade_ws_constants as c;
use cascade_ws_asset     as a;
use cascade_ws_property  as p;
use cascade_ws_utility   as u;
use cascade_ws_exception as e;

try
{
	// create an identifier stdClass object
	$id_std = $service->createId( a\Folder::TYPE, "cc1e51808b7ffe8364375ac78ba27f05" );
	u\DebugUtility::dump( $id_std );
	
	// create a Child object
	$id_child = new p\Child( $id_std );
	u\DebugUtility::dump( $id_child );
	u\DebugUtility::dump( $id_child->toStdClass() );
	
	// read the asset
	$folder = $id_child->getAsset( $service ); //->dump();
	
	// list the content of the folder
	$children = $folder->getChildren();
	u\DebugUtility::dump( $children );
	
	// display each child
	foreach( $children as $child )
	{
		$child->display();
		
		echo $child->getPathPath(), BR;
	}
	
	u\ReflectionUtility::showMethodSignatures( "cascade_ws_property\Identifier" );
	u\ReflectionUtility::showMethodSignatures( "cascade_ws_property\Path" );
}
catch( \Exception $e ) 
{
    echo S_PRE . $e . E_PRE; 
}
catch( \Error $er )
{
	echo S_PRE . $er . E_PRE; 
}
?><commit_msg>Initial commit<commit_after><?php
require_once('auth_tutorial7.php');

use cascade_ws_AOHS      as aohs;
use cascade_ws_constants as c;
use cascade_ws_asset     as a;
use cascade_ws_property  as p;
use cascade_ws_utility   as u;
use cascade_ws_exception as e;

try
{
    // create an identifier stdClass object
    $id_std = $service->createId( 
        a\Folder::TYPE, "cc1e51808b7ffe8364375ac78ba27f05" );
    u\DebugUtility::dump( $id_std );
    
    // create a Child object
    $id_child = new p\Child( $id_std );
    u\DebugUtility::dump( $id_child );
    u\DebugUtility::dump( $id_child->toStdClass() );
    
    // read the asset
    $folder = $id_child->getAsset( $service ); //->dump();
    
    // list the content of the folder
    $children = $folder->getChildren();
    u\DebugUtility::dump( $children );
    
    // display each child
    foreach( $children as $child )
    {
        $child->display();
        
        echo $child->getPathPath(), BR;
    }
    
    u\ReflectionUtility::showMethodSignatures( "cascade_ws_property\Identifier" );
    u\ReflectionUtility::showMethodSignatures( "cascade_ws_property\Path" );
}
catch( \Exception $e ) 
{
    echo S_PRE . $e . E_PRE; 
}
catch( \Error $er )
{
    echo S_PRE . $er . E_PRE; 
}
?>
{'fraction_non_alphanumeric': 0.13692946058091288, 'fraction_numerical': 0.017427385892116183, 'mean_word_length': 3.4238532110091744, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1074694', 'n_tokens_mistral': 920, 'n_tokens_neox': 869, 'n_words': 193}