public function getFilesPath() {
		$repo = $this->getServiceContainer()->getResourceRepository();
		if (!$repo->contains($this->getFilesPuliPath())) {
			$dir = new Directory($repo->get('/files')->getFilesystemPath());
			$path = $dir->toPath()->append('managed/' . $this->model->getName());
			$dir = new Directory($path);
			$dir->make();
		}
		$dir = new Directory($repo->get($this->getFilesPuliPath())->getFilesystemPath());

		return $dir->toPath();
	}
public function getFilesPath() {
		$repo = $this->getServiceContainer()->getResourceRepository();
		if (!$repo->contains($this->getFilesPuliPath())) {
			$dir = new Directory($repo->get('/files')->getFilesystemPath());
			$path = $dir->toPath()->append('managed/' . $this->model->getName());
			$dir = new Directory($path);
			$dir->make();
		}
		$dir = new Directory($repo->get($this->getFilesPuliPath())->getFilesystemPath());

		return $dir->toPath();
	}
public function getFilesPath ( ) { $ repo = $ this -> getServiceContainer ( ) -> getResourceRepository ( ) ; if ( ! $ repo -> contains ( $ this -> getFilesPuliPath ( ) ) ) { $ dir = new Directory ( $ repo -> get ( '/files' ) -> getFilesystemPath ( ) ) ; $ path = $ dir -> toPath ( ) -> append ( 'managed/' . $ this -> model -> getName ( ) ) ; $ dir = new Directory ( $ path ) ; $ dir -> make ( ) ; } $ dir = new Directory ( $ repo -> get ( $ this -> getFilesPuliPath ( ) ) -> getFilesystemPath ( ) ) ; return $ dir -> toPath ( ) ; }
Returns the path for managed files for this module

@return Path
Returns the path for managed files for this module