src/Core/Application.php
private function register_constants( Config $config ) {
		$this->share( 'file', function() use ( $config ) {
			return $config->file;
		} );
		$this->share( 'url', function() use ( $config ) {
			return $config->url;
		} );
		$this->share( 'path', function() use ( $config ) {
			return $config->path;
		} );
		$this->share( 'basename', function() use ( $config ) {
			return $config->basename;
		} );
		$this->share( 'slug', function() use ( $config ) {
			return $config->slug;
		} );
		$this->share( 'version', static::VERSION );
	}
private function register_constants( Config $config ) {
		$this->share( 'file', function() use ( $config ) {
			return $config->file;
		} );
		$this->share( 'url', function() use ( $config ) {
			return $config->url;
		} );
		$this->share( 'path', function() use ( $config ) {
			return $config->path;
		} );
		$this->share( 'basename', function() use ( $config ) {
			return $config->basename;
		} );
		$this->share( 'slug', function() use ( $config ) {
			return $config->slug;
		} );
		$this->share( 'version', static::VERSION );
	}
private function register_constants ( Config $ config ) { $ this -> share ( 'file' , function ( ) use ( $ config ) { return $ config -> file ; } ) ; $ this -> share ( 'url' , function ( ) use ( $ config ) { return $ config -> url ; } ) ; $ this -> share ( 'path' , function ( ) use ( $ config ) { return $ config -> path ; } ) ; $ this -> share ( 'basename' , function ( ) use ( $ config ) { return $ config -> basename ; } ) ; $ this -> share ( 'slug' , function ( ) use ( $ config ) { return $ config -> slug ; } ) ; $ this -> share ( 'version' , static :: VERSION ) ; }
Sets the plugin's url, path, and basename.

@param Config $config
Sets the plugin s url path and basename .