public function __construct($resource, string $name) 	{ 		$this->resource = $resource; 		$this->name = $name; 	}